/*
 *https://leetcode.cn/problems/airplane-seat-assignment-probability/
 *1227. 飞机座位分配概率
 *medium 吴朝泽 2024.11.17
 *动态规划 
*/

class Solution {
public:
    double nthPersonGetsNthSeat(int n) {
        return n == 1 ? 1 : .5;
    }
};